<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>book首页</h1>
    #(bookList)
    <a href="/portal/demo/book/getList">点击获取列表</a>
    <hr/>
    #(saveMsg)
    <form action="/portal/demo/book/save" class="layui-form layui-form-pane f-form" method="post" autocomplete="off">
        书名 ：<input name="name" value="#(book != null ? book.name : '')" ><br/>
        类型 ：<input name="type" value="#(book != null ? book.type : '')" ><br/>
        价格 ：<input name="price" value="#(book != null ? book.price : '')" ><br/>
        作者 ：<input name="author" value="#(book != null ? book.author : '')" ><br/>
        <input type="submit" value="保存">
    </form>
    <hr/>
    #(updateMsg)
    <form action="/portal/demo/book/updateA" class="layui-form layui-form-pane f-form" method="post" autocomplete="off">
        ID ：<input name="id" value="#(book != null ? book.id : '')" ><br/>
        书名 ：<input name="name" value="#(book != null ? book.name : '')" ><br/>
        类型 ：<input name="type" value="#(book != null ? book.type : '')" ><br/>
        价格 ：<input name="price" value="#(book != null ? book.price : '')" ><br/>
        作者 ：<input name="author" value="#(book != null ? book.author : '')" ><br/>
        <input type="submit" value="修改">
    </form>
    <hr/>
    #(deleteMsg)
    <form action="/portal/demo/book/deleteById" class="layui-form layui-form-pane f-form" method="post" autocomplete="off">
        ID ：<input name="id" value="#(book != null ? book.id : '')" ><br/>
        <input type="submit" value="删除">
    </form>
</body>
</html>